﻿@model OBUCare.Core.Models.OPERATOR

@{
    ViewBag.Title = "登录";
}

<hgroup class="title">
    <h1>@ViewBag.Title.</h1>
</hgroup>

<section id="loginForm">
<h2>用户登录：</h2>
@using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl })) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>登录</legend>
        <ol>
            <li>
                @Html.LabelFor(m => m.OPERATOR_NO)               
                @Html.TextBoxFor(m => m.OPERATOR_NO)             
                @Html.ValidationMessageFor(m => m.OPERATOR_NO)
            </li>
            <li>
                @Html.LabelFor(m => m.OPERATOR_PASSWORD)
                @Html.PasswordFor(m => m.OPERATOR_PASSWORD)
                @Html.ValidationMessageFor(m => m.OPERATOR_PASSWORD)
            </li>
            @*<li>
                @Html.CheckBoxFor(m => m.RememberMe)
                @Html.LabelFor(m => m.RememberMe, new { @class = "checkbox" })
            </li>*@
        </ol>
        <input type="submit" value="登录" />
    </fieldset>    
}
</section>

@*<section class="social" id="socialLoginForm">
    <h2>Use another service to log in.</h2>
    @Html.Action("ExternalLoginsList", new { ReturnUrl = ViewBag.ReturnUrl })
</section>*@

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
